/* * {
  margin: 0;
  padding: 0;
}
#wrap {
  width: 400px;
  height: 400px;
  background-color: red;
}

#box {
  width: 200px;
  height: 200px;
  background-color: blue;
} */

/* * {
  margin: 0;
  padding: 0;
}

#table {
  width: 400px;
  height: 400px;
  background-color: red;
}

.button {
  width: 200px;
  height: 200px;
  background-color: blue;
} */

/* * {
  margin: 0;
  padding: 0;
  list-style: none;
}

#box {
  width: 350px;
  margin: 20px auto;
}

#city {
  width: 120px;
  height: 34px;
  background-color: #ccc;
  text-align: center;
  line-height: 34px;
}

#items {
  width: 100%;
  background-color: #eee;
  overflow: hidden;
  display: none;
}

#items > li {
  float: left;
  width: 100px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  margin: 10px 0 10px 10px;
}

#items > .active {
  background-color: deeppink;
  color: #fff;
} */

/* 页面加载时显示加载动画 */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999; /*保证在页面其他内容的上方*/
}
/*动画效果*/
#loader::before {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px soild #ccc;
  background-color: #4caf50;
  /* border-radius: 50%; */
  animation: spin 1s linear infinite;
}
/* 旋转动画的关键帧 */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/*页面内容的样式*/
#content {
  display: none; /*初始化隐藏*/
  text-align: center;
  margin-top: 50px;
  font-family: Arial, Helvetica, sans-serif;
}
